<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content="Hexo Theme Redefine">
    
    <meta name="author" content="xiaoeryu">
    <!-- preconnect -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

    
    <!--- Seo Part-->
    
    <link rel="canonical" href="https://xiaoeeyu.github.io/2024/08/10/编译android13-aosp/"/>
    <meta name="robots" content="index,follow">
    <meta name="googlebot" content="index,follow">
    <meta name="revisit-after" content="1 days">
    
    
    
        
        <meta name="description" content="本文主要是下载Android13 AOSP源码，并将其编译后刷入设备 环境： 编译环境：Ubuntu 22.04 TLS，需要配置好科学上网  硬盘最少要300G以上，内存最少要16G以上 源码下载和编译都比较花时间 在12个线程的情况下给20G内存就足够了，太多了也用不到   设备：pixel 5  其他配置1. 安装 Repo 工具Repo 工具用于管理 Git 仓库 mkdir ~&#x2F;bin">
<meta property="og:type" content="article">
<meta property="og:title" content="编译Android13-AOSP">
<meta property="og:url" content="https://xiaoeeyu.github.io/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/index.html">
<meta property="og:site_name" content="xiaoeryu">
<meta property="og:description" content="本文主要是下载Android13 AOSP源码，并将其编译后刷入设备 环境： 编译环境：Ubuntu 22.04 TLS，需要配置好科学上网  硬盘最少要300G以上，内存最少要16G以上 源码下载和编译都比较花时间 在12个线程的情况下给20G内存就足够了，太多了也用不到   设备：pixel 5  其他配置1. 安装 Repo 工具Repo 工具用于管理 Git 仓库 mkdir ~&#x2F;bin">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://xiaoeeyu.github.io/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240804171502075.png">
<meta property="og:image" content="https://xiaoeeyu.github.io/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240805100950854.png">
<meta property="og:image" content="https://xiaoeeyu.github.io/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240806082559753.png">
<meta property="og:image" content="https://xiaoeeyu.github.io/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240806083101484.png">
<meta property="og:image" content="https://xiaoeeyu.github.io/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240804095159520.png">
<meta property="og:image" content="https://xiaoeeyu.github.io/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240806083641855.png">
<meta property="og:image" content="https://xiaoeeyu.github.io/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240806074036281.png">
<meta property="og:image" content="https://xiaoeeyu.github.io/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240806151656071.png">
<meta property="og:image" content="https://xiaoeeyu.github.io/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240810093236811.png">
<meta property="og:image" content="https://xiaoeeyu.github.io/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240804101618858.png">
<meta property="article:published_time" content="2024-08-10T01:40:30.000Z">
<meta property="article:modified_time" content="2024-08-16T00:46:27.146Z">
<meta property="article:author" content="xiaoeryu">
<meta property="article:tag" content="AOSP源码编译">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://xiaoeeyu.github.io/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240804171502075.png">
    
    
    <!--- Icon Part-->
    <link rel="icon" type="image/png" href="/images/rabete.jpg" sizes="192x192">
    <link rel="apple-touch-icon" sizes="180x180" href="/images/rabete.jpg">
    <meta name="theme-color" content="#A31F34">
    <link rel="shortcut icon" href="/images/rabete.jpg">
    <!--- Page Info-->
    
    <title>
        
            编译Android13-AOSP | xiaoeryu
        
    </title>

    
<link rel="stylesheet" href="/fonts/Chillax/chillax.css">


    <!--- Inject Part-->
    

    
<link rel="stylesheet" href="/css/style.css">


    
        
<link rel="stylesheet" href="/css/build/tailwind.css">

    

    
<link rel="stylesheet" href="/fonts/GeistMono/geist-mono.css">

    
<link rel="stylesheet" href="/fonts/Geist/geist.css">

    <!--- Font Part-->
    
    
    
    
    
    

    <script id="hexo-configurations">
    window.config = {"hostname":"xiaoeeyu.github.io","root":"/","language":"zh-CN","path":"search.xml"};
    window.theme = {"articles":{"style":{"font_size":"16px","line_height":1.5,"image_border_radius":"14px","image_alignment":"center","image_caption":false,"link_icon":true,"delete_mask":false,"title_alignment":"left","headings_top_spacing":{"h1":"3.2rem","h2":"2.4rem","h3":"1.9rem","h4":"1.6rem","h5":"1.4rem","h6":"1.3rem"}},"word_count":{"enable":true,"count":true,"min2read":true},"author_label":{"enable":true,"auto":false,"list":[]},"code_block":{"copy":true,"style":"mac","highlight_theme":{"light":"github","dark":"vs2015"},"font":{"enable":false,"family":null,"url":null}},"toc":{"enable":true,"max_depth":4,"number":false,"expand":true,"init_open":true},"copyright":{"enable":true,"default":"cc_by_nc_sa"},"lazyload":true,"pangu_js":false,"recommendation":{"enable":false,"title":"推荐阅读","limit":3,"mobile_limit":2,"placeholder":"/images/ball-0101.jpg","skip_dirs":[]}},"colors":{"primary":"#A31F34","secondary":null,"default_mode":"light"},"global":{"fonts":{"chinese":{"enable":false,"family":null,"url":null},"english":{"enable":false,"family":null,"url":null},"title":{"enable":false,"family":null,"url":null}},"content_max_width":"1000px","sidebar_width":"210px","hover":{"shadow":true,"scale":false},"scroll_progress":{"bar":false,"percentage":true},"website_counter":{"url":"https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js","enable":true,"site_pv":true,"site_uv":true,"post_pv":true},"single_page":true,"preloader":{"enable":false,"custom_message":null},"open_graph":true,"google_analytics":{"enable":false,"id":null}},"home_banner":{"enable":true,"style":"fixed","image":{"light":"/images/wallhaven-jxl31y.png","dark":"/images/wallhaven-o5762l.png"},"title":"XIAOERYU","subtitle":{"text":["明心见性，拨云见日","Don't wait, to create"],"hitokoto":{"enable":false,"show_author":false,"api":"https://v1.hitokoto.cn"},"typing_speed":100,"backing_speed":80,"starting_delay":500,"backing_delay":1500,"loop":true,"smart_backspace":true},"text_color":{"light":"#fff","dark":"#d1d1b6"},"text_style":{"title_size":"2.8rem","subtitle_size":"1.5rem","line_height":1.2},"custom_font":{"enable":false,"family":null,"url":null},"social_links":{"enable":true,"style":"default","links":{"github":"https://github.com/xiaoeeyu","instagram":null,"zhihu":null,"twitter":null,"email":"xiaoeryu@163.com"},"qrs":{"weixin":null}}},"plugins":{"feed":{"enable":false},"aplayer":{"enable":false,"type":"fixed","audios":[{"name":null,"artist":null,"url":null,"cover":null,"lrc":null}]},"mermaid":{"enable":false,"version":"9.3.0"}},"version":"2.8.2","navbar":{"auto_hide":false,"color":{"left":"#f78736","right":"#367df7","transparency":35},"width":{"home":"1200px","pages":"1000px"},"links":{"Home":{"path":"/","icon":"fa-regular fa-house"},"Archives":{"path":"/archives","icon":"fa-regular fa-archive"}},"search":{"enable":true,"preload":true}},"page_templates":{"friends_column":2,"tags_style":"blur"},"home":{"sidebar":{"enable":true,"position":"left","first_item":"menu","announcement":null,"show_on_mobile":true,"links":null},"article_date_format":"auto","excerpt_length":200,"categories":{"enable":true,"limit":3},"tags":{"enable":true,"limit":3}},"footerStart":"2022/8/17 11:45:14"};
    window.lang_ago = {"second":"%s 秒前","minute":"%s 分钟前","hour":"%s 小时前","day":"%s 天前","week":"%s 周前","month":"%s 个月前","year":"%s 年前"};
    window.data = {"masonry":false};
  </script>
    
    <!--- Fontawesome Part-->
    
<link rel="stylesheet" href="/fontawesome/fontawesome.min.css">

    
<link rel="stylesheet" href="/fontawesome/brands.min.css">

    
<link rel="stylesheet" href="/fontawesome/solid.min.css">

    
<link rel="stylesheet" href="/fontawesome/regular.min.css">

    
    
    
    
<meta name="generator" content="Hexo 6.3.0">
<style>.github-emoji { position: relative; display: inline-block; width: 1.2em; min-height: 1.2em; overflow: hidden; vertical-align: top; color: transparent; }  .github-emoji > span { position: relative; z-index: 10; }  .github-emoji img, .github-emoji .fancybox { margin: 0 !important; padding: 0 !important; border: none !important; outline: none !important; text-decoration: none !important; user-select: none !important; cursor: auto !important; }  .github-emoji img { height: 1.2em !important; width: 1.2em !important; position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; user-select: none !important; cursor: auto !important; } .github-emoji-fallback { color: inherit; } .github-emoji-fallback img { opacity: 0 !important; }</style>
</head>



<body>
	<div class="progress-bar-container">
	

	
	<span class="pjax-progress-bar"></span>
	<!--        <span class="swup-progress-icon">-->
	<!--            <i class="fa-solid fa-circle-notch fa-spin"></i>-->
	<!--        </span>-->
	
</div>

<main class="page-container" id="swup">

	

	<div class="main-content-container flex flex-col justify-between min-h-dvh">
		<div class="main-content-header">
			<header class="navbar-container px-6 md:px-12">
    <div class="navbar-content transition-navbar ">
        <div class="left">
            
                <a class="logo-image h-8 w-8 sm:w-10 sm:h-10 mr-3" href="/">
                    <img src="/images/rabete.jpg" class="w-full h-full rounded-sm">
                </a>
            
            <a class="logo-title" href="/">
                
                xiaoeryu
                
            </a>
        </div>

        <div class="right">
            <!-- PC -->
            <div class="desktop">
                <ul class="navbar-list">
                    
                        
                            

                            <li class="navbar-item">
                                <!-- Menu -->
                                <a class=""
                                   href="/"
                                        >
                                    <i class="fa-regular fa-house fa-fw"></i>
                                    首页
                                    
                                </a>

                                <!-- Submenu -->
                                
                            </li>
                    
                        
                            

                            <li class="navbar-item">
                                <!-- Menu -->
                                <a class=""
                                   href="/archives"
                                        >
                                    <i class="fa-regular fa-archive fa-fw"></i>
                                    归档
                                    
                                </a>

                                <!-- Submenu -->
                                
                            </li>
                    
                    
                        <li class="navbar-item search search-popup-trigger">
                            <i class="fa-solid fa-magnifying-glass"></i>
                        </li>
                    
                </ul>
            </div>
            <!-- Mobile -->
            <div class="mobile">
                
                    <div class="icon-item search search-popup-trigger"><i class="fa-solid fa-magnifying-glass"></i>
                    </div>
                
                <div class="icon-item navbar-bar">
                    <div class="navbar-bar-middle"></div>
                </div>
            </div>
        </div>
    </div>

    <!-- Mobile sheet -->
    <div class="navbar-drawer h-dvh w-full absolute top-0 left-0 bg-background-color flex flex-col justify-between">
        <ul class="drawer-navbar-list flex flex-col px-4 justify-center items-start">
            
                
                    

                    <li class="drawer-navbar-item text-base my-1.5 flex flex-col w-full">
                        
                        <a class="py-1.5 px-2 flex flex-row items-center justify-between gap-1 hover:!text-primary active:!text-primary text-2xl font-semibold group border-b border-border-color hover:border-primary w-full "
                           href="/"
                        >
                            <span>
                                首页
                            </span>
                            
                                <i class="fa-regular fa-house fa-sm fa-fw"></i>
                            
                        </a>
                        

                        
                    </li>
            
                
                    

                    <li class="drawer-navbar-item text-base my-1.5 flex flex-col w-full">
                        
                        <a class="py-1.5 px-2 flex flex-row items-center justify-between gap-1 hover:!text-primary active:!text-primary text-2xl font-semibold group border-b border-border-color hover:border-primary w-full "
                           href="/archives"
                        >
                            <span>
                                归档
                            </span>
                            
                                <i class="fa-regular fa-archive fa-sm fa-fw"></i>
                            
                        </a>
                        

                        
                    </li>
            

            
            
        </ul>

        <div class="statistics flex justify-around my-2.5">
    <a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/tags">
        <div class="number text-2xl sm:text-xl text-second-text-color font-semibold">92</div>
        <div class="label text-third-text-color text-sm">标签</div>
    </a>
    <a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/categories">
        <div class="number text-2xl sm:text-xl text-second-text-color font-semibold">14</div>
        <div class="label text-third-text-color text-sm">分类</div>
    </a>
    <a class="item tag-count-item flex flex-col justify-center items-center w-20" href="/archives">
        <div class="number text-2xl sm:text-xl text-second-text-color font-semibold">112</div>
        <div class="label text-third-text-color text-sm">文章</div>
    </a>
</div>
    </div>

    <div class="window-mask"></div>

</header>


		</div>

		<div class="main-content-body transition-fade-up">
			

			<div class="main-content">
				<div class="post-page-container flex relative justify-between box-border w-full h-full">
	<div class="article-content-container">

		<div class="article-title relative w-full">
			
			<div class="w-full flex items-center pt-6 justify-start">
				<h1 class="article-title-regular text-second-text-color tracking-tight text-4xl md:text-6xl font-semibold px-2 sm:px-6 md:px-8 py-3">编译Android13-AOSP</h1>
			</div>
			
		</div>

		
		<div class="article-header flex flex-row gap-2 items-center px-2 sm:px-6 md:px-8">
			<div class="avatar w-[46px] h-[46px] flex-shrink-0 rounded-medium border border-border-color p-[1px]">
				<img src="/images/rabete.jpg">
			</div>
			<div class="info flex flex-col justify-between">
				<div class="author flex items-center">
					<span class="name text-default-text-color text-lg font-semibold">xiaoeryu</span>
					
					<span class="author-label ml-1.5 text-xs px-2 py-0.5 rounded-small text-third-text-color border border-shadow-color-1">Lv5</span>
					
				</div>
				<div class="meta-info">
					<div class="article-meta-info">
    <span class="article-date article-meta-item">
        <i class="fa-regular fa-pen-fancy"></i>&nbsp;
        <span class="desktop">2024-08-10 09:40:30</span>
        <span class="mobile">2024-08-10 09:40:30</span>
        <span class="hover-info">创建</span>
    </span>
    
        <span class="article-date article-meta-item">
            <i class="fa-regular fa-wrench"></i>&nbsp;
            <span class="desktop">2024-08-16 08:46:27</span>
            <span class="mobile">2024-08-16 08:46:27</span>
            <span class="hover-info">更新</span>
        </span>
    

    
        <span class="article-categories article-meta-item">
            <i class="fa-regular fa-folders"></i>&nbsp;
            <ul>
                
                
                    
                        
                        <li>
                            <a href="/categories/Android%E9%80%86%E5%90%91/">Android逆向</a>&nbsp;
                        </li>
                    
                    
                
            </ul>
        </span>
    
    
        <span class="article-tags article-meta-item">
            <i class="fa-regular fa-tags"></i>&nbsp;
            <ul>
                
                    <li>
                        <a href="/tags/AOSP%E6%BA%90%E7%A0%81%E7%BC%96%E8%AF%91/">AOSP源码编译</a>&nbsp;
                    </li>
                
            </ul>
        </span>
    

    
    
    
    
        <span class="article-pv article-meta-item">
            <i class="fa-regular fa-eye"></i>&nbsp;<span id="busuanzi_value_page_pv"></span>
        </span>
    
</div>

				</div>
			</div>
		</div>
		

		


		<div class="article-content markdown-body px-2 sm:px-6 md:px-8 pb-8">
			<p>本文主要是下载Android13 AOSP源码，并将其编译后刷入设备</p>
<h3 id="环境："><a href="#环境：" class="headerlink" title="环境："></a>环境：</h3><blockquote>
<p>编译环境：Ubuntu 22.04 TLS，需要配置好科学上网</p>
<blockquote>
<p>硬盘最少要300G以上，内存最少要16G以上</p>
<p>源码下载和编译都比较花时间</p>
<p>在12个线程的情况下给20G内存就足够了，太多了也用不到</p>
<img lazyload="" src="/images/loading.svg" data-src="/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240804171502075.png" class="" title="image-20240804171502075">
</blockquote>
<p>设备：pixel 5</p>
</blockquote>
<h3 id="其他配置"><a href="#其他配置" class="headerlink" title="其他配置"></a>其他配置</h3><h4 id="1-安装-Repo-工具"><a href="#1-安装-Repo-工具" class="headerlink" title="1. 安装 Repo 工具"></a>1. 安装 Repo 工具</h4><p>Repo 工具用于管理 Git 仓库</p>
<pre><code class="bash">mkdir ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo &gt; ~/bin/repo
chmod a+x ~/bin/repo
</code></pre>
<h4 id="2-设置-Java-环境"><a href="#2-设置-Java-环境" class="headerlink" title="2. 设置 Java 环境"></a>2. 设置 Java 环境</h4><p>确保安装的是 OpenJDK 11：</p>
<pre><code>sudo update-alternatives --config java
sudo update-alternatives --config javac
</code></pre>
<p>如果还未安装 OpenJDK 11，可以通过以下命令安装：</p>
<pre><code>sudo apt install openjdk-11-jdk
</code></pre>
<h4 id="3-安装依赖："><a href="#3-安装依赖：" class="headerlink" title="3. 安装依赖："></a>3. 安装依赖：</h4><pre><code class="bash">sudo apt-get update
sudo apt-get install git openjdk-11-jdk flex bison gperf build-essential \
zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 \
lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev \
libxml2-utils xsltproc unzip fontconfig python-is-python3 libncurses5
</code></pre>
<h3 id="下载和编译-Android-13-源码"><a href="#下载和编译-Android-13-源码" class="headerlink" title="下载和编译 Android 13 源码"></a>下载和编译 Android 13 源码</h3><h4 id="1-创建源码目录"><a href="#1-创建源码目录" class="headerlink" title="1. 创建源码目录"></a>1. 创建源码目录</h4><pre><code>mkdir ~/android-aosp
cd ~/android-aosp
</code></pre>
<h4 id="2-切换为国内源"><a href="#2-切换为国内源" class="headerlink" title="2. 切换为国内源"></a>2. 切换为国内源</h4><ol>
<li><p>备份原始的源列表</p>
<p><code>sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak</code></p>
</li>
<li><p>编辑源列表</p>
<p><code>sudo nano /etc/apt/sources.list</code></p>
</li>
<li><p>替换默认源</p>
<pre><code class="bash">deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse

deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse
</code></pre>
</li>
<li><p>更新软件包索引</p>
<p><code>sudo apt update</code></p>
</li>
</ol>
<h4 id="3-初始化-Repo"><a href="#3-初始化-Repo" class="headerlink" title="3. 初始化 Repo"></a>3. 初始化 Repo</h4><p>初始化 AOSP 源码仓库：</p>
<pre><code>repo init -u https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/platform/manifest -b android-13.0.0_r40
</code></pre>
<h4 id="4-同步源码"><a href="#4-同步源码" class="headerlink" title="4. 同步源码"></a>4. 同步源码</h4><pre><code>repo sync -c -j$(nproc) --no-clone-bundle --current-branch
</code></pre>
<img lazyload="" src="/images/loading.svg" data-src="/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240805100950854.png" class="" title="image-20240805100950854">

<h4 id="5-下载vendor"><a href="#5-下载vendor" class="headerlink" title="5. 下载vendor"></a>5. 下载vendor</h4><p>在AOSP（Android Open Source Project）源码中，<code>vendor</code> 目录有时可能会缺失，因为AOSP的基础源码通常只包含Android系统的核心部分和一些通用的硬件抽象层（HAL）实现。<code>vendor</code> 目录通常用于存放设备厂商的特定实现、定制和其他与硬件相关的代码</p>
<p>我们这里使用的设备是pixel 5直接去<a class="link" target="_blank" rel="noopener" href="https://developers.google.com/android/drivers?hl=zh-cn">Google官方驱动下载页面<i class="fa-solid fa-arrow-up-right ml-[0.2em] font-light align-text-top text-[0.7em] link-icon"></i></a>下载合适的驱动，选择和下载的AOSP版本号对应的驱动：</p>
<p><a class="link" target="_blank" rel="noopener" href="https://source.android.com/docs/setup/reference/build-numbers?hl=zh-cn">查找源码标记<i class="fa-solid fa-arrow-up-right ml-[0.2em] font-light align-text-top text-[0.7em] link-icon"></i></a></p>
<img lazyload="" src="/images/loading.svg" data-src="/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240806082559753.png" class="" title="image-20240806082559753">

<p>去下载<code>android-13.0.0_r69</code>对应的驱动</p>
<img lazyload="" src="/images/loading.svg" data-src="/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240806083101484.png" class="" title="image-20240806083101484">

<ul>
<li>将下载的压缩包解压</li>
</ul>
<p>执行解压后的<code>.sh</code>文件会得到vendor目录</p>
  <img lazyload="" src="/images/loading.svg" data-src="/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240804095159520.png" class="" title="image-20240804095159520">

<ul>
<li><p>将vendor目录放到源码中即可</p>
<img lazyload="" src="/images/loading.svg" data-src="/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240806083641855.png" class="" title="image-20240806083641855"></li>
</ul>
<h3 id="开始编译"><a href="#开始编译" class="headerlink" title="开始编译"></a>开始编译</h3><h4 id="1-设置构建环境"><a href="#1-设置构建环境" class="headerlink" title="1. 设置构建环境"></a>1. 设置构建环境</h4><pre><code>source build/envsetup.sh
</code></pre>
<h4 id="2-选择目标设备"><a href="#2-选择目标设备" class="headerlink" title="2. 选择目标设备"></a>2. 选择目标设备</h4><p>查看支持的设备列表并选择：</p>
<pre><code>lunch
</code></pre>
<img lazyload="" src="/images/loading.svg" data-src="/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240806074036281.png" class="" title="image-20240806074036281">

<p>例如选择 <code>aosp_redfin-userdebug</code>：</p>
<pre><code>36
</code></pre>
<h4 id="3-开始编译"><a href="#3-开始编译" class="headerlink" title="3. 开始编译"></a>3. 开始编译</h4><pre><code>make -j$(nproc)
</code></pre>
<img lazyload="" src="/images/loading.svg" data-src="/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240806151656071.png" class="" title="image-20240806151656071">

<ul>
<li>比较花时间，编译了将近4个小时</li>
</ul>
<h3 id="测试和部署"><a href="#测试和部署" class="headerlink" title="测试和部署"></a>测试和部署</h3><h4 id="启动模拟器"><a href="#启动模拟器" class="headerlink" title="启动模拟器"></a>启动模拟器</h4><p>在编译完成后，使用以下命令启动模拟器：</p>
<pre><code>emulator
</code></pre>
<h4 id="在真实设备上刷机"><a href="#在真实设备上刷机" class="headerlink" title="在真实设备上刷机"></a>在真实设备上刷机</h4><ol>
<li><h5 id="刚编译完成直接在源码目录下刷机"><a href="#刚编译完成直接在源码目录下刷机" class="headerlink" title="刚编译完成直接在源码目录下刷机"></a>刚编译完成直接在源码目录下刷机</h5></li>
</ol>
<p>确保设备已连接并处于 fastboot 模式：</p>
<pre><code>adb reboot bootloader
fastboot flashall -w
</code></pre>
<pre><code class="bash">xiaoeryu@xiaoeryu-virtual-machine:~/aosp_r69$ adb reboot bootloader
xiaoeryu@xiaoeryu-virtual-machine:~/aosp_r69$ fastboot flashall -w
--------------------------------------------
Bootloader Version...: r3-0.5-9430389
Baseband Version.....: g7250-00247.1-230113-B-9488784
Serial Number........: 08161FFD4000G9
--------------------------------------------
Checking 'product'                                 OKAY [  0.068s]
Setting current slot to 'b'                        OKAY [  0.525s]
Sending 'boot_b' (98304 KB)                        OKAY [  3.240s]
Writing 'boot_b'                                   OKAY [  1.979s]
Sending 'dtbo_b' (16384 KB)                        OKAY [  0.670s]
Writing 'dtbo_b'                                   OKAY [  0.388s]
Sending 'vbmeta_b' (8 KB)                          OKAY [  0.140s]
Writing 'vbmeta_b'                                 OKAY [  0.079s]
Sending 'vbmeta_system_b' (4 KB)                   OKAY [  0.140s]
Writing 'vbmeta_system_b'                          OKAY [  0.079s]
Sending 'vendor_boot_b' (98304 KB)                 OKAY [  3.390s]
Writing 'vendor_boot_b'                            OKAY [  2.037s]
Rebooting into fastboot                            OKAY [  0.065s]
&lt; waiting for any device &gt;
Sending 'super' (4 KB)                             OKAY [  0.002s]
Updating super partition                           OKAY [  0.035s]
Resizing 'product_b'                               OKAY [  0.005s]
Resizing 'system_b'                                OKAY [  0.005s]
Resizing 'system_ext_b'                            OKAY [  0.006s]
Resizing 'system_a'                                OKAY [  0.005s]
Resizing 'vendor_b'                                OKAY [  0.005s]
Resizing 'vendor_a'                                OKAY [  0.005s]
Invalid sparse file format at header magic
Resizing 'product_b'                               OKAY [  0.006s]
Sending sparse 'product_b' 1/2 (262140 KB)         OKAY [  8.082s]
Writing 'product_b'                                OKAY [  1.405s]
Sending sparse 'product_b' 2/2 (23904 KB)          OKAY [  0.740s]
Writing 'product_b'                                OKAY [  0.179s]
Invalid sparse file format at header magic
Resizing 'system_b'                                OKAY [  0.006s]
Sending sparse 'system_b' 1/4 (262112 KB)          OKAY [  8.083s]
Writing 'system_b'                                 OKAY [  1.408s]
Sending sparse 'system_b' 2/4 (262120 KB)          OKAY [  8.204s]
Writing 'system_b'                                 OKAY [  1.393s]
Sending sparse 'system_b' 3/4 (262140 KB)          OKAY [  8.698s]
Writing 'system_b'                                 OKAY [  1.433s]
Sending sparse 'system_b' 4/4 (65600 KB)           OKAY [  2.512s]
Writing 'system_b'                                 OKAY [  0.388s]
Resizing 'system_ext_b'                            OKAY [  0.006s]
Sending 'system_ext_b' (197268 KB)                 OKAY [  7.841s]
Writing 'system_ext_b'                             OKAY [  1.075s]
Resizing 'system_a'                                OKAY [  0.006s]
Sending 'system_a' (26696 KB)                      OKAY [  0.969s]
Writing 'system_a'                                 OKAY [  0.166s]
Invalid sparse file format at header magic
Resizing 'vendor_b'                                OKAY [  0.006s]
Sending sparse 'vendor_b' 1/3 (262092 KB)          OKAY [  8.710s]
Writing 'vendor_b'                                 OKAY [  1.444s]
Sending sparse 'vendor_b' 2/3 (262116 KB)          OKAY [  8.485s]
Writing 'vendor_b'                                 OKAY [  1.411s]
Sending sparse 'vendor_b' 3/3 (236248 KB)          OKAY [  7.860s]
Writing 'vendor_b'                                 OKAY [  1.271s]
Erasing 'userdata'                                 OKAY [  6.665s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Erasing 'metadata'                                 OKAY [  0.044s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Rebooting                                          OKAY [  0.000s]
Finished. Total time: 1517.077s
</code></pre>
<ul>
<li><p>这里使用了<code>-w</code>来擦除之前分区的内容</p>
<img lazyload="" src="/images/loading.svg" data-src="/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240810093236811.png" class="" title="image-20240810093236811"></li>
</ul>
<ol start="2">
<li><h5 id="将镜像拷贝出来刷机"><a href="#将镜像拷贝出来刷机" class="headerlink" title="将镜像拷贝出来刷机"></a>将镜像拷贝出来刷机</h5><img lazyload="" src="/images/loading.svg" data-src="/2024/08/10/%E7%BC%96%E8%AF%91Android13-AOSP/image-20240804101618858.png" class="" title="image-20240804101618858">

<ul>
<li>应该就是这几个，暂时没尝试回头试试再补上</li>
</ul>
<pre><code class="base">fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash vbmeta vbmeta.img
fastboot flash userdata userdata.img
</code></pre>
</li>
</ol>
<h3 id="辅助工具"><a href="#辅助工具" class="headerlink" title="辅助工具"></a>辅助工具</h3><ol>
<li><p>iftop可以监控网络接口的上传和下载速度</p>
<p><code>sudo apt install htop</code></p>
<p><code>sudo htop</code></p>
</li>
<li><p>htop可以监控资源进程和硬件使用情况</p>
<p><code>sudo apt install iftop</code></p>
<p><code>sudo iftop</code></p>
</li>
</ol>
<h6 id="PS：没有vendor-img的话刷出来无法开机"><a href="#PS：没有vendor-img的话刷出来无法开机" class="headerlink" title="PS：没有vendor.img的话刷出来无法开机"></a>PS：没有vendor.img的话刷出来无法开机</h6><h6 id="参考文章："><a href="#参考文章：" class="headerlink" title="参考文章："></a>参考文章：</h6><p><a class="link" target="_blank" rel="noopener" href="https://www.cnblogs.com/bujiangjiu/p/17716052.html">使用Google Pixel5手机调试AOSP(代码下载、编译、刷机、调试)详细攻略<i class="fa-solid fa-arrow-up-right ml-[0.2em] font-light align-text-top text-[0.7em] link-icon"></i></a></p>
<hr>
<h3 id="相关话题："><a href="#相关话题：" class="headerlink" title="相关话题："></a>相关话题：</h3><ol>
<li><p>自己编译的安卓源码要装谷歌框架，需要刷gapp，而opengapp又比较老了，此时有一些新的选择：</p>
<p><a class="link" target="_blank" rel="noopener" href="https://nikgapps.com/">nikgapps<i class="fa-solid fa-arrow-up-right ml-[0.2em] font-light align-text-top text-[0.7em] link-icon"></i></a></p>
<p><a class="link" target="_blank" rel="noopener" href="https://mindthegapps.com/">mindthegapps<i class="fa-solid fa-arrow-up-right ml-[0.2em] font-light align-text-top text-[0.7em] link-icon"></i></a></p>
</li>
</ol>

		</div>

		
		<div class="post-copyright-info w-full my-8 px-2 sm:px-6 md:px-8">
			<div class="article-copyright-info-container">
    <ul>
        <li><strong>标题:</strong> 编译Android13-AOSP</li>
        <li><strong>作者:</strong> xiaoeryu</li>
        <li><strong>创建于
                :</strong> 2024-08-10 09:40:30</li>
        
            <li>
                <strong>更新于
                    :</strong> 2024-08-16 08:46:27
            </li>
        
        <li>
            <strong>链接:</strong> https://github.com/xiaoeryu/2024/08/10/编译Android13-AOSP/
        </li>
        <li>
            <strong>
                版权声明:
            </strong>
            

            
                本文章采用 <a class="license" target="_blank" rel="noopener" href="https://creativecommons.org/licenses/by-nc-sa/4.0">CC BY-NC-SA 4.0</a> 进行许可。
            
        </li>
    </ul>
</div>

		</div>
		

		
		<ul class="post-tags-box text-lg mt-1.5 flex-wrap justify-center flex md:hidden">
			
			<li class="tag-item mx-0.5">
				<a href="/tags/AOSP%E6%BA%90%E7%A0%81%E7%BC%96%E8%AF%91/">#AOSP源码编译</a>&nbsp;
			</li>
			
		</ul>
		

		

		
		<div class="article-nav my-8 flex justify-between items-center px-2 sm:px-6 md:px-8">
			
			<div class="article-prev border-border-color shadow-redefine-flat shadow-shadow-color-2 rounded-medium px-4 py-2 hover:shadow-redefine-flat-hover hover:shadow-shadow-color-2">
				<a class="prev" rel="prev" href="/2024/09/16/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F-%E6%9F%90%E6%9F%90%E7%89%9B%E4%BB%94%E5%9F%8E/">
					<span class="left arrow-icon flex justify-center items-center">
						<i class="fa-solid fa-chevron-left"></i>
					</span>
					<span class="title flex justify-center items-center">
						<span class="post-nav-title-item">微信小程序-某某牛仔城</span>
						<span class="post-nav-item">上一篇</span>
					</span>
				</a>
			</div>
			
			
			<div class="article-next border-border-color shadow-redefine-flat shadow-shadow-color-2 rounded-medium px-4 py-2 hover:shadow-redefine-flat-hover hover:shadow-shadow-color-2">
				<a class="next" rel="next" href="/2024/08/09/%E7%BB%95%E8%BF%87%E7%88%B1%E5%A5%87%E8%89%BAlibmsaoaidsec-so%E7%9A%84Frida%E6%A3%80%E6%B5%8B/">
					<span class="title flex justify-center items-center">
						<span class="post-nav-title-item">绕过爱奇艺libmsaoaidsec.so的Frida检测</span>
						<span class="post-nav-item">下一篇</span>
					</span>
					<span class="right arrow-icon flex justify-center items-center">
						<i class="fa-solid fa-chevron-right"></i>
					</span>
				</a>
			</div>
			
		</div>
		


		
		<div class="comment-container px-2 sm:px-6 md:px-8 pb-8">
			<div class="comments-container mt-10 w-full ">
    <div id="comment-anchor" class="w-full h-2.5"></div>
    <div class="comment-area-title w-full my-1.5 md:my-2.5 text-xl md:text-3xl font-bold">
        评论
    </div>
    

        
            


        
    
</div>

		</div>
		
	</div>

	
	<div class="toc-content-container">
		<div class="post-toc-wrap">
	<div class="post-toc">
		<div class="toc-title">目录</div>
		<div class="page-title">编译Android13-AOSP</div>
		<ol class="nav"><li class="nav-item nav-level-3"><a class="nav-link" href="#%E7%8E%AF%E5%A2%83%EF%BC%9A"><span class="nav-text">环境：</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E5%85%B6%E4%BB%96%E9%85%8D%E7%BD%AE"><span class="nav-text">其他配置</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#1-%E5%AE%89%E8%A3%85-Repo-%E5%B7%A5%E5%85%B7"><span class="nav-text">1. 安装 Repo 工具</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#2-%E8%AE%BE%E7%BD%AE-Java-%E7%8E%AF%E5%A2%83"><span class="nav-text">2. 设置 Java 环境</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#3-%E5%AE%89%E8%A3%85%E4%BE%9D%E8%B5%96%EF%BC%9A"><span class="nav-text">3. 安装依赖：</span></a></li></ol></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E4%B8%8B%E8%BD%BD%E5%92%8C%E7%BC%96%E8%AF%91-Android-13-%E6%BA%90%E7%A0%81"><span class="nav-text">下载和编译 Android 13 源码</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#1-%E5%88%9B%E5%BB%BA%E6%BA%90%E7%A0%81%E7%9B%AE%E5%BD%95"><span class="nav-text">1. 创建源码目录</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#2-%E5%88%87%E6%8D%A2%E4%B8%BA%E5%9B%BD%E5%86%85%E6%BA%90"><span class="nav-text">2. 切换为国内源</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#3-%E5%88%9D%E5%A7%8B%E5%8C%96-Repo"><span class="nav-text">3. 初始化 Repo</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#4-%E5%90%8C%E6%AD%A5%E6%BA%90%E7%A0%81"><span class="nav-text">4. 同步源码</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#5-%E4%B8%8B%E8%BD%BDvendor"><span class="nav-text">5. 下载vendor</span></a></li></ol></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E5%BC%80%E5%A7%8B%E7%BC%96%E8%AF%91"><span class="nav-text">开始编译</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#1-%E8%AE%BE%E7%BD%AE%E6%9E%84%E5%BB%BA%E7%8E%AF%E5%A2%83"><span class="nav-text">1. 设置构建环境</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#2-%E9%80%89%E6%8B%A9%E7%9B%AE%E6%A0%87%E8%AE%BE%E5%A4%87"><span class="nav-text">2. 选择目标设备</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#3-%E5%BC%80%E5%A7%8B%E7%BC%96%E8%AF%91"><span class="nav-text">3. 开始编译</span></a></li></ol></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E6%B5%8B%E8%AF%95%E5%92%8C%E9%83%A8%E7%BD%B2"><span class="nav-text">测试和部署</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%90%AF%E5%8A%A8%E6%A8%A1%E6%8B%9F%E5%99%A8"><span class="nav-text">启动模拟器</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#%E5%9C%A8%E7%9C%9F%E5%AE%9E%E8%AE%BE%E5%A4%87%E4%B8%8A%E5%88%B7%E6%9C%BA"><span class="nav-text">在真实设备上刷机</span></a></li></ol></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E8%BE%85%E5%8A%A9%E5%B7%A5%E5%85%B7"><span class="nav-text">辅助工具</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#%E7%9B%B8%E5%85%B3%E8%AF%9D%E9%A2%98%EF%BC%9A"><span class="nav-text">相关话题：</span></a></li></ol>

	</div>
</div>
	</div>
	
</div>
			</div>

			
		</div>

		<div class="main-content-footer">
			<footer class="footer mt-5 py-5 h-auto text-base text-third-text-color relative border-t-2 border-t-border-color">
    <div class="info-container py-3 text-center">
        
        <div class="text-center">
            &copy;
            
              <span>2022</span>
              -
            
            2025&nbsp;&nbsp;<i class="fa-solid fa-heart fa-beat" style="--fa-animation-duration: 0.5s; color: #f54545"></i>&nbsp;&nbsp;<a href="/">xiaoeryu</a>
            
                
                <p class="post-count space-x-0.5">
                    <span>
                        共撰写了 112 篇文章
                    </span>
                    
                </p>
            
        </div>
        
            <script data-swup-reload-script src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
            <div class="relative text-center lg:absolute lg:right-[20px] lg:top-1/2 lg:-translate-y-1/2 lg:text-right">
                
                    <span id="busuanzi_container_site_uv" class="lg:!block">
                        <span class="text-sm">访问人数</span>
                        <span id="busuanzi_value_site_uv"></span>
                    </span>
                
                
                    <span id="busuanzi_container_site_pv" class="lg:!block">
                        <span class="text-sm">总访问量</span>
                        <span id="busuanzi_value_site_pv"></span>
                    </span>
                
            </div>
        
        <div class="relative text-center lg:absolute lg:left-[20px] lg:top-1/2 lg:-translate-y-1/2 lg:text-left">
            <span class="lg:block text-sm">由 <?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg class="relative top-[2px] inline-block align-baseline" version="1.1" id="圖層_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="1rem" height="1rem" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve"><path fill="#0E83CD" d="M256.4,25.8l-200,115.5L56,371.5l199.6,114.7l200-115.5l0.4-230.2L256.4,25.8z M349,354.6l-18.4,10.7l-18.6-11V275H200v79.6l-18.4,10.7l-18.6-11v-197l18.5-10.6l18.5,10.8V237h112v-79.6l18.5-10.6l18.5,10.8V354.6z"/></svg><a target="_blank" class="text-base" href="https://hexo.io">Hexo</a> 驱动</span>
            <span class="text-sm lg:block">主题&nbsp;<a class="text-base" target="_blank" href="https://github.com/EvanNotFound/hexo-theme-redefine">Redefine v2.8.2</a></span>
        </div>
        
        
            <div>
                博客已运行 <span class="odometer" id="runtime_days" ></span> 天 <span class="odometer" id="runtime_hours"></span> 小时 <span class="odometer" id="runtime_minutes"></span> 分钟 <span class="odometer" id="runtime_seconds"></span> 秒
            </div>
        
        
            <script data-swup-reload-script>
                try {
                    function odometer_init() {
                    const elements = document.querySelectorAll('.odometer');
                    elements.forEach(el => {
                        new Odometer({
                            el,
                            format: '( ddd).dd',
                            duration: 200
                        });
                    });
                    }
                    odometer_init();
                } catch (error) {}
            </script>
        
        
        
    </div>  
</footer>
		</div>
	</div>

	
	<div class="post-tools">
		<div class="post-tools-container">
	<ul class="article-tools-list">
		<!-- TOC aside toggle -->
		
		<li class="right-bottom-tools page-aside-toggle">
			<i class="fa-regular fa-outdent"></i>
		</li>
		

		<!-- go comment -->
		
		<li class="go-comment">
			<i class="fa-regular fa-comments"></i>
		</li>
		
	</ul>
</div>
	</div>
	

	<div class="right-side-tools-container">
		<div class="side-tools-container">
	<ul class="hidden-tools-list">
		<li class="right-bottom-tools tool-font-adjust-plus flex justify-center items-center">
			<i class="fa-regular fa-magnifying-glass-plus"></i>
		</li>

		<li class="right-bottom-tools tool-font-adjust-minus flex justify-center items-center">
			<i class="fa-regular fa-magnifying-glass-minus"></i>
		</li>

		<li class="right-bottom-tools tool-dark-light-toggle flex justify-center items-center">
			<i class="fa-regular fa-moon"></i>
		</li>

		<!-- rss -->
		

		

		<li class="right-bottom-tools tool-scroll-to-bottom flex justify-center items-center">
			<i class="fa-regular fa-arrow-down"></i>
		</li>
	</ul>

	<ul class="visible-tools-list">
		<li class="right-bottom-tools toggle-tools-list flex justify-center items-center">
			<i class="fa-regular fa-cog fa-spin"></i>
		</li>
		
		<li class="right-bottom-tools tool-scroll-to-top flex justify-center items-center">
			<i class="arrow-up fas fa-arrow-up"></i>
			<span class="percent"></span>
		</li>
		
		
	</ul>
</div>
	</div>

	<div class="image-viewer-container">
	<img src="">
</div>

	
	<div class="search-pop-overlay">
	<div class="popup search-popup">
		<div class="search-header">
			<span class="search-input-field-pre">
				<i class="fa-solid fa-keyboard"></i>
			</span>
			<div class="search-input-container">
				<input autocomplete="off" autocorrect="off" autocapitalize="off" placeholder="站内搜索您需要的内容..." spellcheck="false" type="search" class="search-input">
			</div>
			<span class="popup-btn-close">
				<i class="fa-solid fa-times"></i>
			</span>
		</div>
		<div id="search-result">
			<div id="no-result">
				<i class="fa-solid fa-spinner fa-spin-pulse fa-5x fa-fw"></i>
			</div>
		</div>
	</div>
</div>
	

</main>



<script src="/js/build/libs/Swup.min.js"></script>

<script src="/js/build/libs/SwupSlideTheme.min.js"></script>

<script src="/js/build/libs/SwupScriptsPlugin.min.js"></script>

<script src="/js/build/libs/SwupProgressPlugin.min.js"></script>

<script src="/js/build/libs/SwupScrollPlugin.min.js"></script>

<script src="/js/build/libs/SwupPreloadPlugin.min.js"></script>

<script>
    const swup = new Swup({
        plugins: [
            new SwupScriptsPlugin({
                optin: true,
            }),
            new SwupProgressPlugin(),
            new SwupScrollPlugin({
                offset: 80,
            }),
            new SwupSlideTheme({
                mainElement: ".main-content-body",
            }),
            new SwupPreloadPlugin(),
        ],
        containers: ["#swup"],
    });
</script>




	
<script src="/js/build/tools/imageViewer.js" type="module"></script>

<script src="/js/build/utils.js" type="module"></script>

<script src="/js/build/main.js" type="module"></script>

<script src="/js/build/layouts/navbarShrink.js" type="module"></script>

<script src="/js/build/tools/scrollTopBottom.js" type="module"></script>

<script src="/js/build/tools/lightDarkSwitch.js" type="module"></script>

<script src="/js/build/layouts/categoryList.js" type="module"></script>



    
<script src="/js/build/tools/localSearch.js" type="module"></script>




    
<script src="/js/build/tools/codeBlock.js" type="module"></script>




    
<script src="/js/build/layouts/lazyload.js" type="module"></script>




    
<script src="/js/build/tools/runtime.js"></script>

    
<script src="/js/build/libs/odometer.min.js"></script>

    
<link rel="stylesheet" href="/assets/odometer-theme-minimal.css">




  
<script src="/js/build/libs/Typed.min.js"></script>

  
<script src="/js/build/plugins/typed.js" type="module"></script>








    
<script src="/js/build/libs/anime.min.js"></script>





    
<script src="/js/build/tools/tocToggle.js" type="module" data-swup-reload-script=""></script>

<script src="/js/build/layouts/toc.js" type="module" data-swup-reload-script=""></script>

<script src="/js/build/plugins/tabs.js" type="module" data-swup-reload-script=""></script>




<script src="/js/build/libs/moment-with-locales.min.js" data-swup-reload-script=""></script>


<script src="/js/build/layouts/essays.js" type="module" data-swup-reload-script=""></script>





	
</body>

</html>